package com.easydl.project.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.easydl.project.model.EasyDatasetListRestltVO;
import com.easydl.project.service.EasydlDatasetService;

@Controller
@RequestMapping("/easydl")
public class EasydlDatasetController {
	@Autowired
	private EasydlDatasetService easydlDatasetService;

	@RequestMapping("/dataset/list")
	@ResponseBody
	public EasyDatasetListRestltVO easyDatasetListRestltVO() throws Exception {
		return easydlDatasetService.queryDatasetList();
	}
}
